Two new Maryland laws that took effect Thursday aim to protect shoppers from personalized grocery pricing and to ensure they can still pay with cash for essentials like food and fuel.