In Baltimore City and Baltimore County, a real estate broker, associate real estate broker, or real estate salesperson may not mass solicit listings by using the name or address of a present or previous client without the written consent of both parties to the contract.