Senator claims win over government secrecy