The $45 billion loan was approved by the Senate on Thursday night, one week after the Chamber of Deputies passed it.