In this MO question, it says that we have
$$ \sum_{p<n} \frac{1}{\log{p}} =\frac{n}{\log^2 n}+O\left(\frac{n\log\log n}{\log^3 n}\right).$$
where the sum is on all primes $p$, up to some max prime $n$. This is derived from the prime number theorem.
My question is, does there exist a similar result for the order of magnitude of the sum of the logarithms of primes, squared?
$$ \sum_{p<n} \frac{1}{\log^2{p}} = ?$$
Or, when raised to an arbitrary power, let's say $a$?
$$ \sum_{p<n} \frac{1}{\log^a{p}} = ?$$
I would be happy to get an analogous result for either of these.