Soldering lamp wire to brass(?) terminals/contacts.
I'm rewiring an old sewing machine's speed control pedal. There's a back plastic block section where the motor and accessory light plug in. Originally, it was wired from the wall into the block and out to the pedal with pop rivets through the brass contacts you can see in the photo. I'd like to rewire this without the pop rivets.
Can I do this effectively with solder? After removing the old pop rivets, how would I solder the copper stranded 18 gauge lamp cord through/to the holes in the contacts?