you likely have a common pleco. they are ok for a little while in smaller tanks but eventually they'd do best in huge tanks of 90gals or more(just an estimate). they do grow pretty big and only a big tank can handle their size and waste levels.
algae is best eaten by SAEs. if you have a fish tank, and some room for them - get 5 SAEs, and place your infected plants and objects into that tank for a cleaning. younger SAEs do a terrific job of keeping planted tanks spotless. They are most definitely not shrimp safe however so you must keep them in a fish tank.