(1) A person is guilty of compounding a crime when:
(a) He solicits, accepts or agrees to accept any benefit upon an agreement or understanding that he will refrain from initiating a prosecution for a crime; or (b) He confers, offers, or agrees to confer any benefit upon another person upon agreement or understanding that such other person will refrain from initiating a prosecution for a crime.
(2) In any prosecution under this section, it is a defense that the benefit did not exceed an amount which the defendant reasonably believed to be due as restitution or indemnification for harm caused by the offense.
(3) Compounding a crime is a Class A misdemeanor.