I had a similar experience many years ago. And I'd like to suggest you plan on taking up all of the soggy carpet and pad, or it's likely to never dry out and stop smelling, especially in Houston's climate.
My attic leak was also caused by a broken waterline, and dropped most of a bedroom ceiling and its insulation. My home owner's insurance paid for everything, even had a plumber there within an hour. The remediation outfit started cleaning up the mess that night, and pulled up all of the affected carpet, and set up 3 or 4 large fans and heaters, running continuously. I was surprised how quickly the place dried out, and never smelled a bit (they did spray a mold inhibitor on everything as it was drying). Carpet was reinstalled a few days later.