Utah Code Ann. § 76-5-412
(1) As used in this section:
(a) "Actor" means:
(b) "Person in custody" means a person, either an adult 18 years of age or older, or a minor younger than 18 years of age, who is:
(2)
(a) An actor commits custodial sexual relations if the actor commits any of the acts under Subsection (3):
(ii)
(3) Acts referred to in Subsection (2)(a) are:
(4)
(a) An actor commits custodial sexual misconduct if the actor commits any of the acts under Subsection (5):
(ii)
(5) Acts referred to in Subsection (4)(a) are the following acts when committed with the intent to cause substantial emotional or bodily pain to any person or with the intent to arouse or gratify the sexual desire of any person, regardless of the sex of any participant:
(6) The offenses referred to in Subsections (2)(a)(i) and (4)(a)(i) are:
(7)
(a) It is not a defense to the commission of the offense of custodial sexual relations under Subsection (2) or custodial sexual misconduct under Subsection (4), or an attempt to commit either of these offenses, if the person in custody is younger than 18 years of age, that the actor: