The metallicity-redshift relations for emission-line SDSS galaxies: examination of the dependence on the star formation rate