Proposed changes to the UK Investigatory Powers Act 2016 may violate international human rights law.