Upon receiving notice of the default of any loan insured under this chapter, the office, in its discretion and for the purpose of avoiding foreclosure under Section 129125 and notwithstanding the fact that it has previously approved a request of the lender for extensions of the time for curing the default and of the time for commencing foreclosure proceedings or for otherwise acquiring title to the project property, or has approved a modification of the loan for the purpose of changing the amortization provisions by recasting the unpaid balance, may acquire the loan and security agreements securing the loans upon the issuance to the lender of debentures in an amount equal to the unpaid principal balance of the loan plus any accrued unpaid loan interest plus reimbursement for the costs and attorney’s fees of the lender enumerated in Section 129125.
After the acquisition of the loan and security interests therefor by the office, the lender shall have no further rights, liabilities, or obligations with respect thereto. The provisions of Section 129125 relating to the issuance of debentures incident to the acquisition of foreclosed properties shall apply with respect to debentures issued under this section, and the provisions of this chapter relating to the rights, liabilities, and obligations of a lender shall apply with respect to the office when it has acquired an insured loan under this section, in accordance with and subject to any regulations prescribed by the office modifying the provisions to the extent necessary to render their application for these purposes appropriate and effective.