The Senate has given final approval to a bill to prevent people from using their electronic benefits card to get cash from casino ATMs.