No agreement which tends to diminish or defeat the interest of the Corporation in any asset acquired by it under this section or section
1821 of this title, either as security for a loan or by purchase or as receiver of any insured depository institution, shall be valid against the Corporation unless such agreement—