Utah Code Ann. § 77-22-4.5
(2) This chapter does not prohibit or limit the authority of a prosecutor to divert, reduce, or compromise any criminal charge against a witness or other party when the witness voluntarily enters into an agreement to provide testimony or other evidence against himself or another accused in consideration for the diversion, reduction, or compromise if: