(a) This section applies to an individual who, on or after October 1, 2017:
(1) Accepts the election or appointment as a director of a Maryland corporation or a trustee of a Maryland real estate investment trust; or
(2) Serves as a director of a Maryland corporation or a trustee of a Maryland real estate investment trust.
(b) An individual subject to this section is deemed, by the acceptance or service, to have consented to the appointment of the resident agent of the corporation or real estate investment trust or, if there is no resident agent, the State Department of Assessments and Taxation, as an agent on which service of process may be made in any civil action or proceeding brought in the State:
(1) (i) By or on behalf of, or against, the corporation or real estate investment trust; and
(ii) To which the individual is a necessary or proper party; or
(2) Against the individual for an internal corporate claim as defined in § 1–101 of the Corporations and Associations Article.
(c) The consent to service of process by an individual under subsection (b) of this section:
(1) Is effective whether or not the individual is a director or trustee at the time a civil action or proceeding is commenced; and
(2) Constitutes the consent of the individual that any process served in accordance with subsection (b) of this section has the same legal force and validity as if served on the individual.
(d) The appointment under subsection (b) of this section of the resident agent of a corporation or a real estate investment trust or the State Department of Assessments and Taxation as an agent for service of process is irrevocable.