The provisions of this title do not apply to money or other property held by the State or any officer thereof as trustee or bailee under the terms of an express contract to which the State or any officer thereof is a party.
Ca. Civ. Proc. Code § 1306