Like true leaders, they sacrificed money now for later to help nice needed players...! Nice!
That's not really how it works... typically some of their base salary is converted into a bonus so it becomes prorated over the life of their contract, which might also be stretched out too.
In the end, both probably took home a fat check to rework their contract (aka be "true leaders"), and with their salaries this year reduced they may have been increased in subsequent years, putting off the problem if the teams overall salary creep is greater than cap inflation (which they all usually are).
Now to see how the Raiders will be better after losing their leading receiver for 3 years and their best defensive player... If you think just tossing Kevin Boss in among their other signings = success then you must also think the Eagles have already won the Super Bowl?
Big difference between bringing in players and them playing successfully as a team (Oaklands biggest problem for nearly a decade). The Raiders have lost players at key positions, your optimism doesn't seem very realistic.