Public sector data sharing laws pass parliament with Labor changes Privacy protections added, while restrictions imposed on corporations.