Can i use rice wine as a substitute for white wine when cooking a garlic cream sauce?

Thanks in advance