Meta, the parent company of Instagram and Facebook, is facing legal action from dozens of US states.