For a commutative ring $A$, let $R(A)$ be the set of regular elements in $A$ and $\textrm{Frac}(A)=R(A)^{-1}A$. It is known that if $A$ is Noetherian local with $\textrm{dim}(A)=1$, then $\textrm{length}(A/fA)<\infty$ for any $f\in R(A)$. Then we have a map $R(A) \to \mathbb{Z}$ and it can be extended to a group homomorphism $\textrm{Frac}(A)^{*}\to \mathbb{Z}$. Moreover, we have a map $\textrm{mult}_A:\textrm{Frac}(A)^{*}/A^{*}\to \mathbb{Z}$.
Let $X$ be a locally Noetherian scheme. Let $U$ be an open dense subset of $X$ (i.e. $\bar{U}=X$) and $D$ be a Cartier divisor on $X$ such that $D|_{U}=0$.
Claim 1: Any $x\in X$ of codimension 1 such that $\textrm{mult}_{\mathcal{O}_{X,x}}(D_x)\neq 0$ is a generic point of $X\setminus U$. Claim 2: Any affine open subset of $X$, there are only a finite number of points $x$ of codimension 1 such that $\textrm{mult}_{\mathcal{O}_{X,x}}(D_x)\neq 0$.
The author of my reference states Claim 2 comes from Claim 1, but I cannot understand how it works. Actually, I cannot prove the Claim 1. How can I use the conditions codimension 1 and density?