This video should help in answering your question. Its a full teardown of an m6 headlight and a custom rebuild. I believe that the part you are talking about is a seperate piece that can be swapped but the video should clarify.
https://youtu.be/308FwJXxBJg
|