WASHINGTON — A bill that would block suspected Nazi war criminals from receiving Social Security benefits is heading to President Barack Obama for his signature.

By voice vote late Thursday, the Senate gave final congressional approval to a measure that would shut a loophole that allowed suspected Nazis to be paid millions of dollars in benefits, clearing it for the White House. Under the No Social Security for Nazis Act, benefits would be terminated for Nazi suspects who have lost their American citizenship, a step called denaturalization.

U.S. law currently requires a higher threshold – a final order of deportation – before Social Security benefits can be stopped.

The House unanimously approved the bill on Tuesday.