A simplistic answer would be to ensure that incentives are aligned with safety and success. Then that leads to the evergreen problem of Goodhart’s Law (when a measure becomes a target, it ceases to be a good measure).
Even if it can't ever be truly fixed, at least recognizing the issues and shining daylight on decisions for some form of accountability should be a base-level approach.
Easy, put the manager on the actual mission.
> Goodhart’s Law
Useful to be sure, but it's easier to game something like LOC than it is to game "product made money" and "nobody died."