Cosmological Implications of the Second Parameter of Type Ia Supernovae