It seems to me that both amendments have a discretionary clause to them, to change the first part of subclause 52(5). The NDP one references “seriously compromise an ongoing investigation”, as opposed to stating another act of Parliament. I'm not the lawyer here, so I can't interpret the difference.
“Seriously compromise an ongoing investigation” suggests to me that we're referring to CBSA's investigation or an RCMP investigation, as opposed to sending it, say, to the Canadian Human Rights Commission.