Privacy protection framework based on the SOCIETIES platform