Feasibility of measuring the nonlinear index of refraction by third-order frequency mixing