Any person who exposes his or her genitals or pubes to another not his or her spouse, or who commits a sex act in the presence of or in view of a third person, commits a simple misdemeanor, if:
(A) The person does so to arouse or satisfy the sexual desires of either party; and
(B) The person knows or reasonably should know that the act is offensive to the viewer.