Japan passes law allowing firms to collect personal data for AI