Opponents worry the law will be abused to harass schools and teachers.