2822. Use of a child in a sexual performance
(a) No person shall, with knowledge of the character and content, promote a sexual performance by a child or a performance which contains a lewd exhibition of the genitals, anus or breasts of a child, or hire, employ, procure, use, cause or induce a child to engage in such a performance.
(b) In any prosecution arising under this section, the defendant may raise as an affirmative defense that before the child participated in the sexual performance, the defendant, in good faith, had a reasonable and factual basis to conclude that the child had in fact attained the age of 16; and the defendant did not rely solely upon the oral allegations or representations of the child as to his or her age.