Chosen Solution

Both ports have broken off at the pins, and are unusable

Which USB Ports are broken? The one on the left or the two on the right? If it’s the two on the right fortunately you can get that whole daughterboard replaced which is the more feasible option than just getting the ports individually replaced. To individually replace the ports you would need micro-soldering tools and experience to do so which is not for the average DIYer out there. This is something I would leave to a professional from a local reputable laptop repair store to get it done.