Cal. Civ. Proc. Code § 580.5
(a) For purposes of this section:
(b) With respect to an obligation which is secured by a mortgage or a deed of trust upon real property or an estate for years therein and which is also supported by a letter of credit, neither the presentment, receipt of payment, or enforcement of a draft or demand for payment under the letter of credit by the beneficiary of the letter of credit nor the honor or payment of, or the demand for reimbursement, receipt of reimbursement or enforcement of any contractual, statutory or other reimbursement obligation relating to, the letter of credit by the issuer of the letter of credit shall, whether done before or after the judicial or nonjudicial foreclosure of the mortgage or deed of trust or conveyance in lieu thereof, constitute any of the following: