If the obligations under a surety bond are conditioned upon performance of the principal, the expiration of the statute of limitations with respect to the obligations of the principal, other than the obligations of the principal under the bond, shall also bar an action against the principal or surety under the bond, unless the terms of the bond provide otherwise.
Ca. Civ. Proc. Code § 359.5