The new law would also reduce the number of 'consent pop-ups' people see online that ask for permission to collect data