Prohibiting a law enforcement officer from engaging in certain sexual acts, sexual contact, or vaginal intercourse with a student enrolled in a school where the law enforcement officer is assigned as a school resource officer; etc.