; ; and (C) by inserting after the word issued in the seventh sentence, as redesignated, the following: , or (D) its approval and honoring of any pledge or grant of security interest of the pledgor’s interest in and to any such mortgage or mortgages or any interest therein and proceeds thereon. . (h) Safe harbor (1) In general Notwithstanding any other provision of law, whenever a servicer of residential mortgages of residential mortgage-backed securities— (A) grants a borrower relief under section 6(n) and 6(p) of the Real Estate Settlement Procedures Act of 1974 with respect to a residential mortgage originated before April 1, 2020, including a mortgage held in a securitization or other investment vehicle; and (B) the servicer or trustee or issuer owes a duty to investors or other parties regarding the standard for servicing such mortgage, the servicer shall be deemed to have satisfied such a duty, and the servicer shall not be liable to any party who is owed such a duty and shall not be subject to any injunction, stay, or other equitable relief to such party, based upon its good faith compliance with the provisions of 6(n) and 6(p) of the Real Estate Settlement Procedures Act of 1974. Any person, including a trustee or issuer, who cooperates with a servicer when such cooperation is necessary for the servicer to implement the provisions of 6(n) and 6(p) of the Real Estate Settlement Procedures Act of 1974 shall be protected from liability in the same manner. (2) Standard industry practice Compliance with 6(n) and 6(p) of the Real Estate Settlement Procedures Act of 1974 during the COVID–19 emergency shall constitute standard industry practice for purposes of all Federal and State laws. (3) Definitions As used in this subsection— (A) the term servicer has the meaning given that term under section 6(i)(2) of the Real Estate Settlement Procedures Act of 1974 ( 12 U.S.C. 2605(i)(2) )