Empirical Mean and Frequency Estimation Under Heterogeneous Privacy: A Worst-Case Analysis