the year in which the loan is made and if those mitigation measures were not undertaken. (d) Sale of property If a property with respect to which a loan has been made under this section is sold, upon that sale, the outstanding loan balance shall— (1) be repaid using the proceeds of the sale