For complete keyboard removal, after unscrewing the outer screws (and with the replacement keyboard on hand) tear out the black plastic sheet along with the thin metal plate and keys all at once. Warning: bits of rivets will fly everywhere! (Preventable by taping them down before you tear out). Any remaining rivers can be “chiseled” out with an automatic center punch (available on Amazon or local hardware store).
Note: it’s worth it to buy a replacement keyboard that includes the LED backlit film and screws you’ll need to attach the new keyboard back on. This way you don’t have to try to save the thin black film from the old one, plus you’ll certainly need the screws to replace the rivets you just tore out.
To snap back in, place speaker cable connector directly on top of socket and press down with your finger or tool.
Note: No need to do this for keyboard replacement.
If you have 2 ‘gold wires’ hanging out (assuming that you’re referring to the connectors and not bare wires!), you’ll have to inspect them under ‘high’ magnification (40x loupe would do) and make sure the tabs are propped out so that when you plug them back into the connector they’ll grab the connector (and don’t slip out when you attempt to plug the connector in). Inspect the connector to see what orientation to insert the connector plugs in. Mate the tabs on the plug with the surface opening on the plastic connector housing.