Resistance to β-lactam antibiotic may influence nanH gene expression in Trueperella pyogenes isolated from bovine endometritis.