I think it's unnatural for Russian speaker to vocalize "д" in "код". We may force this sound sometimes to distinct between these words, but in relaxed speech there is no difference in pronunciation.