; and (4) providing other financial assistance, including advances, payments, and incentives (including the ability of owners to obtain reasonable returns on investment) required by the Secretary. (d) Renewal of rental assistance When the Secretary offers to restructure a loan pursuant to subsection (c), the Secretary shall offer to renew the rental assistance contract under section 521(a)(2) for a 20-year term that is subject to annual appropriations, provided that the owner agrees to bring the property up to such standards that will ensure its maintenance as decent, safe, and sanitary housing for the full term of the rental assistance contract. (e) Restrictive use agreements (1) Requirement As part of the preservation and revitalization agreement for a project, the Secretary shall obtain a restrictive use agreement that obligates the owner to operate the project in accordance with this title. (2) Term (A) No extension of rental assistance contract Except when the Secretary enters into a 20-year extension of the rental assistance contract for the project, the term of the restrictive use agreement for the project shall be consistent with the term of the restructured loan for the project. (B) Extension of rental assistance contract If the Secretary enters into a 20-year extension of the rental assistance contract for a project, the term of the restrictive use agreement for the project shall be for 20 years. (C) Termination The Secretary may terminate the 20-year use restrictive use agreement for a project prior to the end of its term if the 20-year rental assistance contract for the project with the owner is terminated at any time for reasons outside the owner’s control. (f) Decoupling of rental assistance (1) Renewal of rental assistance contract If the Secretary determines that a maturing loan for a project cannot reasonably be restructured in accordance with subsection (c) and the project was operating with rental assistance under section 521, the Secretary may renew the rental assistance contract,