Maryland is on track to become the first state to ban so-called dynamic pricing in grocery stores across the state.