US lawmakers strike deal on data privacy legislation To restrict the collection and sale of consumer data.