Cal. Health & Safety Code § 25395.81
(a) Except as provided in Section 25395.85, and except as otherwise provided under this section, a bona fide purchaser, innocent landowner, or contiguous property owner who did not cause or contribute to the release at the site, qualifies for the following immunities:
(2) An agency shall not take an action under an applicable statute to require a bona fide purchaser, innocent landowner, or contiguous property owner to take a response action, other than a response action required in an approved response plan, with respect to the hazardous material release at a site that is characterized in the site assessment conducted pursuant to, or a response plan approved pursuant to Article 6 (commencing with Section 25395.90), unless both of the following conditions apply:
(B) The agency does one of the following:
(c) The immunities described in this section shall attach when the bona fide purchaser, innocent landowner, or contiguous property owner enters into an agreement with an agency pursuant to Section 25395.92 and shall remain in effect unless one of the following occurs: