Senators approved the bill to amend state secrets law