Ottawa prepares to share personal data with foreign governments