Poorly made would not adequately describe that part. Yes the socket should be either soldered or pressed tightly into
the housing. But... the housing is painted or powder coated so it wouldn't create a ground anyway.
I purchased a license plate light assembly from one of the local suppliers that had the entire socket powder
coated. I had to clean off the coating from the inside to get the thing to work. People making this stuff don't have a clue
how stuff works and vendors don't either. They just push parts across the counter and collect your money.
Fred