2012 headlight question

I was replacing my headlight bulb and upon doing so,the square metal piece that your bulb actually twists into came apart from the headlight assembly. It appears that the tiny tabs that hold it in place came off. Does anyone know where to get replacement one? I searched the internet high and low without luck