An undertaking to comply with the Data Protection Act 1998 has been signed by Kent Police.