The only "no" votes were from Reps. Justin AmashJustin AmashDems revive impeachment talk after latest Cohen bombshell McCarthy, allies retaliate against Freedom Caucus leader On The Money: Trump says he won't declare emergency 'so fast' | Shutdown poised to become longest in history | Congress approves back pay for workers | More federal unions sue over shutdown MORE (R-Mich.), Paul BrounPaul Collins BrounCalifornia lawmaker's chief of staff resigns after indictment Republican candidates run against ghost of John Boehner The Trail 2016: Let’s have another debate! MORE (R-Ga.), and Keith Ellison (D-Minn.).

ADVERTISEMENT

Under current law, people can be fined for knowingly intruding in a building where the president or vice president is staying temporarily, but no penalties are prescribed for those who trespass in their permanent residences. To impose fines in the latter case, the Secret Service now uses a provision of D.C. code dealing with misdemeanor infractions.

The bill was slightly amended and voice-voted by the Senate earlier this month, so House passage of the Senate version sends it to the White House for President Obama's signature into law.

— This story was updated at 7:43 p.m. to reflect more vote details.