(a) Except as provided in subsection (b) of this section, a savings and loan association is not required to recognize or take any action on any claim to a deposit or to money or property held by the association or contained in a safe deposit box if that claim is adverse to the interests of any person who, on its records, appears to be entitled to the deposit, money, or property.
(b) If, in an action to which an adverse claimant is a party, a court order or decree involving a claim to the deposit, money, or property is served on a savings and loan association, the association may, or if required by the court, shall impound the deposit, money, or property, subject to further order of the court, and without any liability for these actions.