Significant sections of genes can be filled with non-sense DNA that codes for nothing (however, functionality of nonsense DNA is being debated). Therefore, even if much of the gene doesn't match another species gene, as long as the critical areas that code for actual characteristics of the protein are present, the gene should function just fine.