No agreement that tends to diminish or defeat the interest of the financial institution or credit union and any asset acquired by the receiver acting in a proceeding under this chapter or by any person or entity acquiring all or any of the interests or assets by a sale or other transfer approved by any order of the court entered in a receivership proceeding under this chapter, including (without limitation) loans made by the financial institution or credit union or any security therefor, shall be valid against the receiver or transferee unless the agreement (1) is in writing; (2) was executed by the financial institution or credit union and any person claiming an adverse interest thereunder, including the obligor, contemporaneously with the acquisition of the assets by the financial institution or credit union; (3) was approved by the governing body of the financial institution or credit union or its loan or other authorizing committee, which approval shall be reflected in the minutes of the board or committee; and (4) has been, continuously, from the time of its execution, an official record of the financial institution or credit union.
R.I. Gen. Laws § 19-12-13