No public officer or surety on his official bond shall suffer any penalty or liability for damages or increase of liability or be in default by reason of any failure on his part to perform any act or duty where such failure is due to compliance by any bank with any order or requirement of the superintendent or the Banking Board authorized or ratified by this chapter or with any act of Congress of the United States now or hereafter enacted or with any rule or regulation promulgated by duly constituted officials of the United States.
Ala. Code § 5-10A-17 (1975)