Car insurance companies used the data to raise rates, according to the complaint filed by the Texas attorney general.