The bill represents the latest step in fulfilling President Barack Obama's promise to end the NSA's collection of domestic calling records, the most significant change in the wake of the leaks of once-secret surveillance programs by former NSA systems administrator Edward Snowden.
The measure drew support from Republicans, including Sen. Ted Cruz of Texas.