A proposition in California was passed on Tuesday night that requires porn actors to wear condoms on the set of their films. Measure B, also known as the "Safer Sex in the Adult Film Industry Act", received 56 percent of the popular vote in Los Angeles County, according to CBSLA.

Measure B states that adult film producers must get health permit from the County Department of Health before shooting their movies. The permit allows county representatives to conduct random inspections and fine or even charge those in violation.

Those in favor of the California proposition felt it was necessary to limit the spread of HIV, according to the Los Angeles Times. The AIDS Healthcare Foundation, a Los Angeles-based organization, pushed for the measure to make the ballot.

The AHF recently cited a Times report that LA porn actors have more sexually transmitted diseases than prostitutes in Nevada. Indeed, the article cites a study stating that 28 percent of adult film actors in Los Angeles tested positive for gonorrhea and/or Chlamydia in 2010. Meanwhile, the report concludes that the number of STIs among Nevada prostitutes is negligible because those workers are required by law to wear condoms.

AHF President Michael Weinstein and two doctors signed an argument in favor of the California proposition that was included on Los Angeles county's ballot guide.

"Pornographers should not be exempt from the basic safety rules that protect everyone else,'' the document said, per KCET.org. "Public health should not be sacrificed on the false claim that this is a free speech issue; this is a public health and safety issue.''

The adult film industry, by contrast, challenged Measure B.

James Lee, a spokesman for the opponents, told the Times that the industry tried to require condoms for its employees back in 1998, but this led to a 30 percent decline in porn video sales.

Porn star James Deen was also vocal in his disapproval of the California proposition, according to the Huffington Post. Deen participated in a chat on Reddit the day before the election and urged fans to vote against the proposition. Deen claimed the ruling was unconstitutional and argued that the film industry tests actors for HIV and other sexually transmitted diseases every two to four weeks.

Indeed, according to KCET, those against Measure B claimed that no one has contracted HIV on the set of an adult film since 2004.

Even some not involved in the pornography business challenged the measure, calling it an infringement on individual rights. The county's Libertarian chair, Nancy Zardenta, and four others signed a ballot argument comparing the California proposition to the controversial New York City law limiting the size of soft drinks.

"Safe sex practices are a good idea. However, they shouldn't be forced on adult film actors,'' the document said, according to KCET. "Our individual rights have been fading fast since the Patriot Act. Do-gooders such as New York Mayor Bloomberg seek to create a nanny state where our behavior is increasingly regulated for our own good.''