Although it really helps build the tension, GHB isn't really metabolised all that quickly. (And blood tests are the worst choice for detecting it.)
It is only detectable in the blood for around 4 hours, but is detectable in urine for 12 hours, and in hair for months.