VENTURA (CBSLA.com) — Ventura County has passed a law requiring actors in porn films to wear condoms during production, the Ventura County Star reported.

The ordinance, which was passed Tuesday by the Ventura County Board of Supervisors, went into effect immediately.

READ MORE: SoFi Stadium Looking To Fill More Than 3,000 Part-Time Positions With Job Fairs Being Held This Month

The law will be enforced by county health inspectors who will check for compliance on porn shoots.

Ventura County is now the second county in the state to require the use of condoms during XXX scenes.

Los Angeles County passed Measure B in the November 2012 election with 56 percent of the vote.

READ MORE: Feds: Mustafa Qadiri Of Irvine Used $5 Million In Fraudulent PPP Loans To Buy Ferrari, Bentley, And Lamborghini

It requires producers to apply for a permit from the Los Angeles County Department of Health to shoot a XXX scene.  A fee for the permit would pay for random inspections to assure that performers use condoms.

Fines could be levied against all who don’t comply with the law. The LA County law is currently being challenged in a federal lawsuit under the 1st Amendment.

The city of Simi Valley, which is located within the Ventura County limits, passed a similar law in April 2012.

California is one of only two states where adult film production is legal; the other is New Hampshire.

MORE NEWS: 2 More Drivers Report Windows Being Shattered On SoCal Freeways

The state legislature is also considering Assembly Bill 322, which would require the use of condoms in all adult films made in California.