; and (B) include any such letters in the consumer’s file. (3) Sharing of information Any time a mortgage originator assigns a residential mortgage loan or contracts with a servicer with respect to a residential mortgage loan, the originator shall inform the assignee or servicer of the consumer’s preferred language reported under paragraph (1) and provide the assignee or servicer with any letters of explanation for origination described under paragraph (2). . 4. Protecting tenants at foreclosure (a) Effect of foreclosure on preexisting tenancy (1) In general In the case of any foreclosure on a federally-related mortgage loan or on any dwelling or residential real property after the date of enactment of this section, any immediate successor in interest in such property pursuant to the foreclosure shall assume such interest subject to— (A) the provision, by such successor in interest of a notice to vacate to any bona fide tenant at least 90 days before the effective date of such notice; and (B) the rights of any bona fide tenant, as of the date of such notice of foreclosure— (i) under any bona fide lease entered into before the notice of foreclosure to occupy the premises until the end of the remaining term of the lease, except that a successor in interest may terminate a lease effective on the date of sale of the unit to a purchaser who will occupy the unit as a primary residence, subject to the receipt by the tenant of the 90-day notice under subparagraph (A)