(a)
Any contract for the payment of money or other consideration to a minor who has been alleged to be the victim of an unlawful sex act, or to his or her legal representative, by the alleged perpetrator of that unlawful sex act, or his or her legal representative, entered into on or after the time of the alleged unlawful sex act, and providing for any payments to be made more than one year after the date of the execution of the contract, is void as contrary to public policy. A district attorney may bring an action or intervene in any action to enjoin enforcement of any contract which is in violation of this section.
(b)
This section does not apply after the date of the final judgment in a criminal case against the alleged perpetrator for the unlawful sex act described in subdivision (a).
(c)
This section does not apply to a contract for the payment of money or other consideration made from a nonrevocable trust established for the benefit of the minor if the alleged perpetrator has no direct or indirect access to, or control over, the trust.
(d)
This section does not apply to an alleged perpetrator of an unlawful sex act against a minor to the extent he or she agrees to pay, or is required by court order to pay, child support for that minor upon a dissolution or legal separation.
(e)
For purposes of this section, “unlawful sex act,” means a felony sex offense committed against a minor.
(f)
Notwithstanding subdivision (a), any contract declared void as contrary to public policy under this section may still be enforced by a district attorney against the payor, and the proceeds thereof shall be deposited in the State Children’s Trust Fund pursuant to Section 18969 of the Welfare and Institutions Code.