according to maryland code:
§ 2-406. Performance of ceremony.
(a) Authorized officials.-
(1) In this subsection, "judge" means:
(i) a judge of the District Court, a circuit court, the Court of Special Appeals, or the Court of Appeals;
(ii) a judge approved under Article IV, § 3A of the Maryland Constitution and § 1-302 of the Courts Article for recall and assignment to the District Court, a circuit court, the Court of Special Appeals, or the Court of Appeals;
(iii) a judge of a United States District Court or a United States Court of Appeals; or
(iv) a judge of a state court if the judge is active or retired but eligible for recall.
(2) A marriage ceremony may be performed in this State by:
(i) any official of a religious order or body authorized by the rules and customs of that order or body to perform a marriage ceremony;
(ii) any clerk;
(iii) any deputy clerk designated by the county administrative judge of the circuit court for the county; or
(iv) a judge.
if you are unsure, i'd check with the county courthouse.