Joe - the carpet padding that shows in picture one stops at the metal stripping. Then the plastic "cover ramp" was super sticky glued over the metal strip. In the first picture, the black plastic strip has shifted, which in turn caused it to shift where it was attached on the top side to the bottom of the carpet with the sticky stuff. Winnebago told us that strip is there to cover the edge of the slide where a gap is created between it and the interior floor when the slide is out - hence the "cover" so that stuff can't get in that space AND as in your case, keep the carpet from sinking down in the groove. The part that broke on ours broke across the strip, not the length of it, so we are missing about a foot long piece of the entire strip. We kept the piece that broke off - it was tough getting it unattached from both sides with all that sticky stuff - but kept the piece and are going to try to see if we can find something similar to remedy that section without replacing the entire strip. Would double side taping some linoleum the length of your slide work to cover that gap?
I ran across this page that is about actually replacing the floor - but in Tip 2 at the bottom of the page it talks about what they ran into with the cover ramp.
https://mountainmodernlife.com/repla...-rv-slide-out/ Down in the comments there is some talk about what others encountered. May be of some help to you. Now that I think of it, maybe this would be a great time for us to "fix" our issue by putting down new laminate like this guy did and getting rid of the carpet on that slide all together.