You can buy what's called a "cord cap." It's the plug piece with 3 prongs but you can open it to attach your wires. Your ground prong broke.
Cut off your black power cord right behind your broken cord cap. Then carefully strip the sheathing off your power cord about an inch or so, exposing 3 insulated wires inside, one white, one black, and one green. Strip each separate wire insulation back approximately 1/2 inch.
Fasten each bare wire to the new cord cap as follows: Black wire on the brass-colored screw, white wire on the brighter screw, and green wire on the green screw. Make a "shepard's hook" on the end of each wire and loop it around the screw clockwise, then tighten each screw. Remember, white on bright, black on brass, and green on green.
Make sure after tightening each wire around a screw that no bare wires touch any other wire.
Tighten the cord cap back together. The insulation that covers all three wires should be intact where the cord exits the new cord cap. Done!
If you're really ignorant of electricity and have no mechanical skills, ask someone else for help and watch them do it. It's not hard to do but electricity deserves and WILL earn your respect.