There are at least two aspects to it. A change in legislation cannot, by itself alone, restore confidence that has been damaged or solve that problem. On the other hand, having appropriate legislation in place and ensuring that it creates greater transparency, that people are more aware of things, of what has happened, and that there is a structure that ensures confidentiality, competence, professional integrity, and so on, are part of the building blocks.
For many Canadians, the trust is something that is built over time; it can be damaged quickly. If there is a silver lining in the cloud of the 2011 arguments over the census and the NHS, it is that the end-users, the people who build transit systems, locate schools, and help people figure out where new markets are so they can put up shops, all spoke out about its importance. Part of the product of that is the rapid, and actually better, response rates in 2016 than to earlier ones.
I'm backing away from saying that this solves the problem. Rather, this is one brick on a path that requires action and broader understanding.