The order blocks GM’s data sharing for five years and requires the automaker to provide customers with easy options to disable, view, or delete their data for 20 years.