Germany replaces NSA scandal-plagued spy chief