For artificial joints like a hip and a knee joint, you have a lot of exposed materials like titanium, stainless steel, or medical polymer, so it doesn't have an immune system. Getting a biofilm infection forming on an artificial joint sometimes means taking the implant out, even if it's working fine.
So biofilms are a tough problem. They're far more sinister than conventional bacterial colonies. Since this is in the digestive tract, I wonder if some type of detergent can be found that simply dissolves the film matrix, washing away the bacteria and fungi.