Yes sounds like nematodes, they don’t do any harm, yes fish would control them but not get rid of them, you would have to treat the tank to be rid of them, don’t know how they get into tanks but they do. If the other worm is flat then it is likely to be planaria, a google image search should...