Sorry about your friend's dog Audrey. i hope Cody is OK. jack, my roommates dog had what sounds like the same symptoms lately and he had a kidney infection, easily treatable with antibiotics so maybe that's all it is.
Please let us know...