Task-aware Privacy Preservation for Multi-dimensional Data