(Barr-Rinehart) For a group $G$, define $\widetilde{H}^{n}(G, A)=\operatorname{Ext}_{Z G}^{n}(\mathcal{G}, A)$, where $A$ is a $G$-module and $\mathcal{G}$ is the augmentation ideal. Prove that $\widetilde{H}^{0}(G, A) \cong \operatorname{Der}(G, A)$ and $\widetilde{H}^{n}(G, A) \cong H^{n+1}(G, A)$ for $n \geq 1$.