Apply metadata replacement to ldk library as well for new rustc