No provision in a bond is valid that attempts by contract to shorten the period prescribed by Section 337 or other statute for the commencement of an action on the bond or the period prescribed by Section 996.440 for a motion to enforce a bond. This section does not apply if the principal, beneficiary, and surety accept a provision for a shorter period in a bond.
Ca. Civ. Proc. Code § 996.450