The State Senate has passed legislation aimed at expanding prohibitions against sex between school employees and students.