; (ii) the origination of loans by the institution that result in the construction, rehabilitation or preservation of affordable housing units; and (iii) investments in or loans to community development financial institutions (as defined in section 103 of the Community Development Banking and Financial Institutions Act of 1994 ( 12 U.S.C. 4702 )), community development corporations (as defined in section 613 of the Community Economic Development Act of 1981 ( 42 U.S.C. 9802 )), and other nonprofit organizations serving the housing and development needs of the community. (3) With respect to its evaluation of an application for a deposit facility by the U.S. nonbank mortgage originator— (A) consider the record described in paragraph (1), the overall rating of the U.S. nonbank mortgage originator under this section, and any improvement plans submitted pursuant to this section; (B) provide an opportunity for public comment for a period of not less than 60 days; (C) consider changes in the community reinvestment performance of the U.S. nonbank mortgage originator since the most recent rating under this section by the appropriate Federal financial supervisory agency; and (D) require— (i) a demonstration that granting the application for a deposit facility is in the public interest, which shall include a submission of a community benefits plan by the U.S. nonbank mortgage originator to the appropriate Federal financial supervisory agency; (ii) that the U.S. nonbank mortgage originator consult with community-based organizations and other community stakeholders in developing the community benefits plan