The Senate is voting on legislation that would check President Donald Trump’s ability to launch an attack against Venezuela.