U.S. technology companies, anticipating that they will face increased regulation in how they handle consumers’ data, are working with policymakers to potentially shape the new...