Since it is not possible to update the score for a proof at the moment, we can cache the value to avoid recomputing every time. This especially makes sense after D10031 since the proof score is used as a key for the peer set.
This is an optimization only and does not change the behavior.
Note that this might no stand if the proof format is changed so the score can be updated.