Attaching a lanyard to the Hero 7 Black mounting frame

I want to attach the lanyard that came with my Sleeve to my Hero 7 Black frame. On the right side of the frame there are two small slots towards the top. Are they there for attaching a lanyard or for some other purpose. I was able to fit it right under the center of where the door opens, under the metal pin, but I just noticed those two slots and thought maybe that's what they are for. Thanks for any replies.