Maryland has become the first state in the country to ban grocery stores from using dynamic pricing or personal consumer data to raise prices on shoppers.