Here is the exact answer Cameron wrote, but I decided to write all of the steps. If $d:X'\times X'\rightarrow \mathbb{R} $ is continuous in the product topology, for every $(x_o,y_o)$ and fixed $\epsilon>0$, there is a basis element with $(x_o,y_o)\in U\times V$ such that
$$d(U\times V)\subset (d(x_o,y_o)-\epsilon, d(x_o,y_o)+\epsilon)$$
In particular $d(U\times y_o)\subset (d(x_o,y_o)-\epsilon, d(x_o,y_o)+\epsilon) $ and because $U$ is open in $X'$, we must have $f(x)=d(x,y_o)$ a continuous function with $f: X'\rightarrow \mathbb{R}$. Clearly, for every $r>0$:
$$f^{-1}(-\infty, r)=\{x'| d(x',y_o)<r\}=B(y_o,r)$$
So, open balls are open in $X'$ and hence all open elements is the usual metric topology are open in the topology of $X'$