SACRAMENTO (CBS / AP) – California is making it illegal to disclose secretly recorded conversations with medical professionals under a new law backed by Planned Parenthood.

The new law responds to surreptitious videos released last year of Planned Parenthood officials allegedly discussing the illegal sale of fetal tissue. The organization said the videos were deceptively edited.

READ MORE: Firefighters Working to Save Giant Sequoias Forced to Flee Advancing Flames

Sharing secretly recorded private conversations involving a health care provider could land Californians in prison for up to a year under the bill Gov. Jerry Brown announced signing Friday.

Domestic violence victims and certain law enforcement officials are exempt from the law.

READ MORE: San Mateo Deputies Arrest Man Suspected in Stabbing Attack With Wood Stake

Some liberal lawmakers were torn over AB1671 between defending Planned Parenthood and protecting free speech rights.

It will still be legal to secretly record evidence of extortion, kidnapping, bribery, human trafficking or other violent felonies.

MORE NEWS: UPDATE: Southbound Hwy 17 Lanes Cleared After Woman Jumps Off Pedestrian Bridge

© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.