Is there a temporary solution to alleviate wet carpet stench in the basement?
Most critical to removing the smell is to dry the carpet quickly.  I dealt with a flooded basement last fall and had good luck with the following. 

Close off any a/c intake vents in the basement to keep from sucking mold &amp; mildew into the rest of the house.
Use a wet/ dry shop vac or carpet cleaner to vacuum out as much water as possible. If you go slow you can suck it almost completely dry.
Place several fans to circulate air around the room and directly over the wet spot. 
If you can, arrange fans to circulate fresh outside air in and wet stale air out of the basement.
The faster you can dry everything, the less smell you'll have. 
The restoration company may need to run fans and dehumidifiers for a few days, then spray a fungicide to prevent future growth.