Article - Criminal Law
(a) A person may not knowingly:
(1) allow a building, structure, or conveyance owned or under the person’s control to be used for prostitution or assignation;
(2) allow or agree to allow a person into a building, structure, or conveyance for prostitution or assignation; or
(3) keep, set up, maintain, or operate a building, structure, or conveyance for prostitution or assignation.
(b) A person who violates this section is guilty of a misdemeanor and on conviction is subject to imprisonment not exceeding 1 year or a fine not exceeding $500 or both.
(c) (1) Subject to paragraph (2) of this subsection, in a prosecution under this section, it is an affirmative defense of duress if the defendant committed the act as a result of being a victim of an act of another in violation of Title 3, Subtitle 11 of this article or the prohibition against human trafficking under federal law.
(2) A defendant may not assert the affirmative defense provided in paragraph (1) of this subsection unless the defendant notifies the State’s Attorney of the defendant’s intention to assert the defense at least 10 days prior to trial.