The legislation was designed to "ensure that the privacy of minors is protected and will ensure that no child is unwillingly or unknowingly violated in any way while utilizing public school locker rooms and restrooms," said the Virginia First Foundation.