I have an Asus A7N8X-E motherboard with SATA controller which has two SATA ports The look like ones displayed in the image. My problem is that on one of them, the plastic part came loose and every time cable is removed, plastic stays plugged into SATA cable. The pins themselves are still soldered to the motherboard and I can with some effort put the plastic part back so that it covers the pins.

I need tips for making the plastic part itself somehow bond with the pins. The pin part itself has two metal pieces (left most and right most pins on the picture) which look like they are designed to hold the plastic part. I'm considering using soldering iron on them. I'm thinking that if I heat them enough, plastic part may melt a little bit and get stuck in correct position. Unfortunately, I'm not so good with soldering and I'd like to hear some alternative ways of solving this problem (I also doubt that I'm skilled enough to replace whole connector).
Oh, and I'd rather not buy a separate SATA controller, since the computer is pretty old.