You don't fix this kind of problem (perverse market incentives) by adding another layer to 'correct' for the results. You fix this kind of problem by addressing the underlying incentives in some fashion.
The underlying incentive here is that there's a benefit to keeping salary information private. (Whether that benefit is merely perceived or real is irrelevant.) One obvious solution to this is to have the SEC require that all salaries and compensation data at publicly listed companies be made public, similar to how all government salary data is public. Public companies already have to run open books anyway. This just extends that a bit.