RICHMOND, Va. (AP) - Several new laws are set to take effect Wednesday in Virginia. Here are a few highlights:

Social media: Employers cannot ask employees or prospective employees for the username and passwords of social media accounts.

Breastfeeding: Women can breastfeed anywhere the mother is lawfully present.

Campus sex assault: Lawmakers have approved several measures related to campus sex assault violence. They include requiring campus police departments to notify local prosecutors within 48 hours of starting any investigation into possible felony sexual assault and requiring university registrars to put a note on the transcripts of any student who is suspended, expelled or withdraws from school for reasons related to an offense involving sexual violence.

Medical marijuana: The law provides an "affirmative defense" for epilepsy patients who have a doctor's note to use cannabidiol oil for treatment.

State song: Virginia how has two official state songs. The official traditional song is "Our Great Virginia" and the official popular song is "Sweet Virginia Breeze."

Police drones: The law requires law enforcement agencies to obtain a search warrant for use of unmanned aircraft systems.

Traffic: Drivers can cross double yellow lines in order to pass pedestrians and cyclists safely.

Hemp: Farmers can now grow industrial hemp as part of a university-managed research program.

(Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)