To further focus my question, how is the power law (...) affected by this change?
Yes it is.
To show why, let us first recall the heuristics leading to a power law for the Cantor set $C$ with respect to the Lebesgue measure, that is, when $p=\frac12$. For $x$ in $C$ and $n\geqslant1$, the elements of $C$ in $B(x,3^{-n})$ are roughly those whose $n$ first digits of their ternary expansion coincide with those in the expansion of $x$. This happens with probability $2^{-n}$ hence $\mu(B(x,3^{-n}))\approx2^{-n}$. And indeed, this approximate equivalent reads $\mu(B(x,r))\approx r^\alpha$ with $\alpha=\log2/\log3$.
When the probabilities of the digits $0$ and $2$ are $p$ and $1-p$, the first part of the reasoning subsists, that is, the elements of $C$ in $B(x,3^{-n})$ are roughly those whose $n$ first digits of their ternary expansion coincide with those in the expansion of $x$. But now this happens with probability $p^{N_n(x)}(1-p)^{n-N_n(x)}$, where $N_n(x)$ denotes the number of $0$ in the $n$ first digits of the ternary expansion of $x$, and, for every $p\ne\frac12$, this probability depends on $N_n(x)$. Some consequences follow:
The Hausdorff exponent $\alpha$ of $C$ at $x$, defined by the property that $\mu_p(B(x,r))\approx r^\alpha$ when $r\to0$, may not exist, and indeed it does not exist at those points $x$ such that $N_n(x)/n$ does not converge.
Every exponent $\alpha$ between $-\log p/\log 3$ and $-\log(1-p)/\log3$ corresponds to an infinite set of points $x$, those such that $N_n(x)/n$ converges to $\nu(\alpha)$ where, for every $a$ in this interval, $\nu(a)$ is defined by the identity
$$
p^{\nu(a)}(1-p)^{1-\nu(a)}3^a=1.
$$
- Almost surely with respect to $\mu_p$, $\alpha=\alpha_p$, where
$$
\alpha_p=-(p\log p+(1-p)\log(1-p))/\log3,
$$
hence $\alpha_p$ can also be defined by the identity $\nu(\alpha_p)=p$.
To sum up, with respect to $\mu_p$, the Hausdorff exponent of $C$ is $\alpha_p$ almost everywhere while the subsets of $C$ where the Hausdorff exponent has any fixed value between $-\log p/\log 3$ and $-\log(1-p)/\log3$ and the subset of $C$ where the Hausdorff exponent does not exist, are all nonempty, uncountable and negligible for $\mu_p$.