(1) A state bank is authorized to do any act necessary to obtain insurance of its deposits by the United States or any agency thereof and to acquire and hold membership in the federal reserve system or to take advantage of any other act or resolution of congress that may be enacted to aid, regulate, or safeguard state banks and their depositors, including any amendments of the same or any substitutions thereof. It may also subscribe for and acquire any stock, debentures, bonds, or other types of securities of the federal deposit insurance corporation and comply with the lawful regulations and requirements from time to time issued or made bysuch corporation.
(2) A state bank that is a member of the federal reserve system, or of the federal deposit insurance corporation, or of both may make payments to the federal national mortgage association, a constituent agency of the national housing and home finance agency, of nonrefundable capital contributions, receive stock evidencing such capital contributions and hold and dispose thereof, contract with said association, and incur the expenses and otherwise comply with the then lawful regulations and requirements issued by said association from time to time to the extent a national bank in like circumstances is authorized by any act or resolution by the United States congress or by any lawful rule issued pursuant thereto.