Apple and Google had been told to keep the practice secret until Sen. Ron Wyden revealed it in a letter Wednesday.