California Code
ARTICLE 3 - Effect of Liens
Section 2889.

2889. All contracts for the forfeiture of property subject to a lien, in satisfaction of the obligation secured thereby, and all contracts in restraint of the right of redemption from a lien, are void.

(Enacted 1872.)