Judges says data protection laws need to be enacted to safeguard a wealth of sensitive information.