Opaque Keys fix for grade_summary

@carsongee  @sarina Just another tiny Opaque Keys fix in the legacy dashboard.
Honestly, I think the better fix would be to remove this function and its references. The analytics team has implemented better solutions and no one is going to update this code.