VII ( G major) chord in Eb key ?

It goes from G (VII) to Cm (vi) so my question goes for which role this G plays, given vii°(G diminished chord in the diatonic progression of Eb). Secondary secondary dominant? (same 3th and 5th out of V degree but sharpened?). I am bewildered.

https://acordesdcanciones.com/luck-ra-bzrp-music-sessions-61/