Proof (implicit function theorem)
Introduce $$ \begin{align*} F: U&\to \R^n \times \R^m \\ (x,y) &\mapsto (x, f(x,y)). \end{align*} $$ Its Jacobian matrix is $$ \begin{align*} DF = \pmat{ I & D_x f \\ 0 & D_y f } \end{align*} $$ which has determinant $\det DF = \det D_y f \neq 0$ at $(x_0, y_0)$. So $DF(x_0, y_0)$ is invertible.
By the inverse function theorem, there exist neighbourhoods $V\times V'\subseteq \R^{n+m}$ of $F(x_0, y_0) = (x_0, 0)$ and $U'\subseteq U\subseteq \R^{n+m}$ of $(x_0, y_0)$ such that $F: U' \to V\times V'$ is a bijection and has a continuously differentiable inverse $G: V\times V' \to U'$.
Writing $G(x,y') = (ϕ(x,y'), ψ(x,y')) \in \R^n\times \R^{m}$, we have $$ \begin{align*} &(x,y') = F\circ G(x,y') = (ϕ(x,y'), f(ϕ(x,y'), ψ(x,y'))) \\ \implies & ϕ(x,y') = x. \end{align*} $$ Therefore for $(x,y)\in U'$, $$ \begin{align*} y' = f(x,y) \iff (x,y')=F(x,y) \iff G(x,y') = (x,y) \iff ψ(x,y')=y. \end{align*} $$ Defining $g: V\to \R^n$ by $g(x) = ψ(x,0)$ does the job.
Smoothness of $g$ follows from the statement in the inverse function theorem.