It looks like an ulcer and these are commonly seen on rainbowfishes that have Fish TB and that don't get enough plant matter in their diet. The ulcers aren't always associated with Fish TB but regularly are. Sometimes they just occur in tanks that aren't quite as clean as they should be, and when the fish's immune system is weaker from lack of plants in their diet.
At least half the diet of rainbowfish should be plant based. Duckweed is a small floating plant that lots of people hate, but most rainbowfish love it.
If the fish has TB, then the disease is in the tank and they don't need to euthanise the fish until the ulcer gets worse, or the fish stops eating, or develops major symptoms. Euthanising the fish now won't stop the other fishes getting it because they probably already have it.
Your friend can get the fish necropsied by a fish vet to confirm TB or something else.
They should not put their hands or arms in the tank if they have any open sores/ wounds because the Fish TB bacteria can get into open wounds and cause a localised infection called a granuloma. They should also wash their hands and arms with warm soapy water after working in the tank.
If you or your friend gets a small sore on an open wound that doesn't heal normally after 2 weeks, go to a doctor and tell them your fish might have Fish TB and get the doctor to take a swab of the wound and send it off for culturing. The doctor will probably try to put you on antibiotics in the mean time. Do not take antibiotics until you know what is in the wound. Then use the correct medication. A lot of TB strains are immune to most antibiotics and need specific medications.