Been awhile since I've taken a GFCI receptacle apart, but there are probably 2 wire coils & possibly a relay that could be making the hum.

GFI receptacles are cheap enough, if you have any doubts about it, replace it.

Tom


Few things are harder to put up with than the annoyance of a good example.