In our role as leaders on the House Intelligence Committee, we drafted and introduced last year's bill together with our colleagues on the Judiciary Committee, Reps. Bob Goodlatte and John Conyers. Our success provided the foundation for the legislation that passed the House by an even larger margin on Wednesday. The USA Freedom Act ends the bulk collection of what we now know as "metadata" — that big database up at the National Security Agency that contains the phone numbers of millions of Americans will go away. The government will now have to seek court approval before petitioning private cell phone companies for records. The court will have to approve each application, except in emergencies, and major court decisions will be made public.