How to detach the green latch (P1-595349) used in some HP SFF computers’ slim optical drives

I’m talking about this:

HP DS-8A8SH locking mechanism

Now, forget about that weird screw head looking thing, it’s there just to guide the thing in place when they’re installing it, and to keep it from sliding off when in place.

The whole part is actually just kept in place by a small piece of adhesive in the middle. So there’s no need for a screwdriver at all here, as you can just carefully pry the damn thing off:

HP P1-595349 detached