House Intelligence Committee Chairman Mike Rogers (R-Mich.) called a recent attempt to halt NSA gathering of phone data "dangerous."

The House narrowly rejected an amendment Wednesday from Rep. Justin AmashJustin AmashHouse conservatives criticize media, not Trump, for Putin furor Watchdog: First lady spokeswoman may have violated Hatch Act with ‘MAGA’ tweet GOP Rep. Amash slams Kavanaugh on government surveillance rulings MORE (R-Mich.), that would have stripped funding for the program, which has come under heavy scrutiny.

Rogers on Sunday defended the program, calling it a "real success," and said halting it could expose the U.S. to future terror attacks.

"What you're doing is taking away the one tool that we know will allow us the nexus between a foreign terrorist overseas talking to someone in the United States," he said on CBS's "Face the Nation." "It has saved real lives, real folks have come home with their legs…because of this program."

Rogers also suggested that many of his fellow lawmakers may have mistaken notions about the program, which gathers phone records, but not recordings or other information.

"The day before the vote, people were asking how many of the numbers have recordings," he said. "They were conflating all of those other problems with this particular problem.

"There's more information in a phone book than there is in this particular big pile of phone numbers," he added.

Sen. Mark UdallMark Emery UdallRecord number of LGBT candidates running for governor Senate GOP rejects Trump’s call to go big on gun legislation Democratic primary could upend bid for Colorado seat MORE (D-Colo.), though, argued on the same show that the program was in need of serious reform.

"The NSA is literally collecting every phone record of every American every day," he said. "When we collect in bulk all of these records of Americans' phone calls, we're not necessarily being any more effective."

Udall is pushing legislation that would require the NSA to explain why records it is seeking are relevant to an authorized investigation.