California
Civil Code – CIV § 2953
Any express agreement made or entered into by a borrower at the time of or in connection with the making of or renewing of any loan secured by a deed of trust, mortgage or other instrument creating a lien on real property, whereby the borrower agrees to waive the rights, or privileges conferred upon him by Sections 2924 , 2924b , 2924c of the Civil Code or by Sections 580a or 726 of the Code of Civil Procedure , shall be void and of no effect. The provisions of this section shall not apply to any deed of trust, mortgage or other liens given to secure the payment of bonds or other evidences of indebtedness authorized or permitted to be issued by the Commissioner of Corporations, or is made by a public utility subject to the provisions of the Public Utilities Act.