>>2941756
This. It's not hard. Just make sure you know which is the ground and which is the hot wire. Watching a YouTube vid on this in advance will help you out. Pay attention to the colors of the wires inside the cord and any screws inside the plug head. Match them up accordingly. It will take you about 10 minutes due to having to peel back the wires and screw them into the appropriate screw in the replacement plug head unit.
Make sure you DON'T buy a 3 prong cord head replacement for your cord though (positive, negative and ground). FYI, should you ever need to change out a 3 prong plug head, as mentioned the colors of the screws inside the replacement plug head matter. Black Wire = Brass Screw and the White Wire = Silver Screw Green Wire = Green Screw.
Watch videos on YouTube, they'll teach you everything you need to know.