The provisions of this subchapter relating to mortgage loan originators do not apply to any of the following:
(1) Any individual who meets the definition of mortgage loan originator and who is all of the following:
(a) An employee of, and acting for, a depository institution, a subsidiary owned and controlled by a depository institution and regulated by a federal banking agency, or an institution regulated by the farm credit administration.
(b) Registered with, and who maintains a unique identifier through, the nationwide mortgage licensing system and registry.
(2) Any individual who offers or negotiates terms of a residential mortgage loan with or on behalf of the individual's spouse, child, sibling, parent, grandparent, or grandchild, including any stepparent, stepchild, stepsibling, or adoptive relationship.
(3) Any person who offers or negotiates terms of a residential mortgage loan secured by a dwelling that served as the individual's residence.
(4) A licensed attorney who negotiates the terms of a residential mortgage loan on behalf of a client as an ancillary matter to the attorney's representation of the client, unless the attorney is compensated by a lender, mortgage broker, or mortgage loan originator or by any agent of a lender, mortgage broker, or mortgage loan originator.